<tagLib name="fanwe" />
<!--{advlayout id='右侧广告位宽267px' target='1'}-->
<div class="right-box">
	<dl class="top-dl about">
		<dt>
			<a class="current" href="javascript:;">关注我们</a>
		</dt>
		<dd>
			<ul class="current">
				<!--{if $_FANWE['setting']['tel_fw'] != ''}-->
				<li class="li_img1"><a target="_blank" href="$_FANWE['setting']['tel_fw']">$_FANWE['setting']['tel_fw']</a>手机访问</li>
				<!--{/if}-->
				<!--{if $_FANWE['setting']['blog'] != ''}-->
				<li class="li_img2"><a target="_blank" href="$_FANWE['setting']['blog']">关注</a>官方博客</li>
				<!--{/if}-->
				<!--{if $_FANWE['setting']['qq'] != ''}-->
				<li class="li_img3"><span>$_FANWE['setting']['qq']</span>商务合作QQ群</li>
				<!--{/if}-->
				<!--{if $_FANWE['setting']['eamil'] != ''}-->
				<li class="li_img6"><a href="mailto:$_FANWE['setting']['email']">$_FANWE['setting']['eamil']</a>商务合作联系</li>
				<!--{/if}-->
				<!--{if $_FANWE['setting']['wb'] != ''}-->
				<li class="li_img4"><a target="_blank" href="$_FANWE['setting']['wb']">关注</a>微博</li>
				<!--{/if}-->
				<li class="li_img5 last"><a href="javascript:void(0)" onClick="$('.collect_hidden').toggle();return false;">收藏</a>添加收藏</li>
			</ul>
			<div class="collect_hidden" style="display:none;">
				<div class="ch_top"></div>
				<div class="ch_body">
					<p>请选择添加到哪里</p>
					<div class="shares">
						<div class="mq"><a href="#"onclick="$.copyText('#share-im');">MSN/QQ</a></div>
						<div class="kx"><a  href="http://www.kaixin001.com/repaste/share.php?rurl=$_FANWE[site_url]&rtitle=$_FANWE[setting][site_name]" target="_blank" >开心</a></div>
						<div class="rr"><a  href="http://share.renren.com/share/buttonshare.do?link=$_FANWE[site_url]" target="_blank">人人</a></div>
						<div class="db"><a  href="http://www.douban.com/recommend/?url=$_FANWE[site_url]&title={echo urlencode($_FANWE['setting']['site_name'])}" target="_blank">豆瓣</a></div>
						<div class="sina"><a  href="http://v.t.sina.com.cn/share/share.php?url=$_FANWE[site_url]&title={echo urlencode($_FANWE['setting']['site_name'])}" target="_blank">新浪微博</a></div>
					</div>
				</div>
				<div class="blank9"></div>
			</div>
		</dd>
	</dl>
	<dl class="item-dl">
		<dt>
			<a class="current" rel="bought" href="javascript:;">销量排行榜</a>
			<a rel="click" href="javascript:;">点击排行榜</a>
		</dt>
		<dd class="rank-list">
			<!--{eval $bought_list = S('goods')->getGoodsBoughtRank(5)}-->
			<ul class="current" rel="bought">
				<!--{eval $first = ' class="first"';}-->
				<!--{loop $bought_list $bought_item}-->
				<li$first>
					<p>$bought_item[rank_count]</p>
					<div>
						<a href="$bought_item[site_url]" target="_blank">【{$bought_item[site_name]}】</a><a href="$bought_item[url]" target="_blank" title="$bought_item[name]">$bought_item[name]</a>
					</div>
				</li>
				<!--{eval $first = '';}-->
				<!--{/loop}-->
			</ul>
			<ul rel="click">
				<!--{dynamic getGoodsClickRank args=5}-->
			</ul>
		</dd>
	</dl>
	<dl class="item-dl">
		<dt>
			<a class="current" rel="bests" href="javascript:;">最新推荐团购</a>
		</dt>
		<dd class="img-list">
			<ul class="current" rel="bests">
				<!--{dynamic getGoodsBests args=5}-->
			</ul>
		</dd>
	</dl>
	<div class="bottom"></div>
</div>
<!--{advlayout id='右侧广告位宽267px' target='2'}-->
<!--{advlayout id='右侧广告位宽267px' target='3'}-->
 
<script type="text/javascript">
jQuery(function($){
	$(".right-box .item-dl dt a").hover(function(){
		$(this).siblings().removeClass("current");
		$(this).addClass("current");
		var rel = this.getAttribute("rel");
		var dl = $(this).parent().parent();
		$("ul",dl).removeClass("current");
		$("ul[rel='"+rel+"']",dl).addClass("current");
	});
});
</script>